package org.dl.gjz.menyj.task.service.deletegate;

import org.camunda.bpm.engine.delegate.DelegateExecution;
import org.camunda.bpm.engine.delegate.JavaDelegate;
import org.springframework.stereotype.Service;

@Service("checkVideoFormat")
public class CheckVideoFormat implements JavaDelegate {
    @Override
    public void execute(DelegateExecution execution) throws Exception {
        Object obj = execution.getVariable("targetVideoName");
        if (null != obj) {
            System.out.println("main process input param is " + obj.toString());
        }
        System.out.println("checkVideoFormat success");
    }
}
